package com.htx.oldbookpavilion.mapper;

import com.htx.oldbookpavilion.entity.BookTypeDict;
import com.htx.oldbookpavilion.entity.BookTypeDictExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BookTypeDictMapper {
    long countByExample(BookTypeDictExample example);

    int deleteByExample(BookTypeDictExample example);

    int deleteByPrimaryKey(String typeName);

    int insert(BookTypeDict record);

    int insertSelective(BookTypeDict record);

    List<BookTypeDict> selectByExample(BookTypeDictExample example);

    BookTypeDict selectByPrimaryKey(String typeName);

    int updateByExampleSelective(@Param("record") BookTypeDict record, @Param("example") BookTypeDictExample example);

    int updateByExample(@Param("record") BookTypeDict record, @Param("example") BookTypeDictExample example);

    int updateByPrimaryKeySelective(BookTypeDict record);

    int updateByPrimaryKey(BookTypeDict record);
}